how to debug in ruby on rails